package util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
    public static String dateFormat(){
        SimpleDateFormat sf = new SimpleDateFormat("yyyyMMddHHmmss");
        return sf.format(new Date());
    }
    public static String currentDate(){
        SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sf.format(new Date());
    }
}
